home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970104-19970326 / 000128_news@columbia.edu _Wed Jan 29 11:20:33 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA22316
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 29 Jan 1997 11:20:32 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA21571
  7.     for kermit.misc@watsun; Wed, 29 Jan 1997 11:20:31 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: ECHO of filename to be sent within script
  12. Date: 29 Jan 1997 16:20:29 GMT
  13. Organization: Columbia University
  14. Lines: 22
  15. Message-ID: <5cntcd$ils$1@apakabar.cc.columbia.edu>
  16. References: <5ckq5k$kg4@morgan.vf.lmco.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:6479
  19.  
  20. In article <5ckq5k$kg4@morgan.vf.lmco.com>,
  21. Michael Groberg <groberg@slr.orl.mmc.com> wrote:
  22. : Does anyone know of a way to echo the filename that is being sent to the
  23. : user. The "ECHO \%1" command doesn't work and I can't find an example
  24. : in any of the scripts or documents.
  25. Your question is a bit vague.  If Kermit is in remote mode, it can't echo
  26. anything because it is hidden behind the local Kermit's file transfer
  27. display.  If it is in local mode, you can see the name on the file transfer
  28. display anyway.
  29.  
  30. Kermit 95 and C-Kermit have a variable \f(filespec) that contains the
  31. file specification used in the most recent file-transfer command.
  32.  
  33. If you need the filename to be in a certain variable, you can define a
  34. macro for this, like:
  35.  
  36.   define mysend echo sending \%1, send \%1, end \v(status)
  37.  
  38. - Frank
  39.  
  40.